package com.zwz.service;

import com.zwz.dto.RestrictionDTO;
import com.zwz.entity.ConsumptionRestriction;

import java.util.List;

public interface ConsumptionRestrictionService {
    RestrictionDTO createWithMain( String enterpriseId );
    void updateRestriction(ConsumptionRestriction restriction);
    List<ConsumptionRestriction> getCurrentRestrictions();
    List<ConsumptionRestriction> getByCaseNumber(String caseNumber);
}